export const formList = [
  {
    key: "parent_id",
    label: "上级菜单",
    type: "slot",
    placeholder: "请选择上级菜单"
  },
  {
    key: "display_name",
    label: "名称",
    placeholder: "请输入",
    rules: [{ required: true, message: "请输入菜单名称", trigger: "blur" }],
  },
  {
    key: "icon",
    label: "图标",
    type: "icon",
    placeholder: "请选择",
    rules: [{ required: true, message: "请选择菜单图标", trigger: "blur" }],
  },
  {
    key: "order",
    label: "排序",
    placeholder: "请输入",
    rules: [{ required: true, message: "请输入菜单排序", trigger: "blur" }],
  },
  {
    key: "url",
    label: "路由",
    placeholder: "请输入",
    rules: [{ required: true, message: "请输入菜单路由", trigger: "blur" }],
  },
];
